package cate.game.role.pvp.throne.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTB;
import cate.game.pvp.throne.data.trial.TBTrialReport;
import cate.game.role.Role;
import easy.java.dev.note.NoteField;

import java.util.List;

@ClientMsg(title = "选拔赛战报 の 返回")
public class TBTrialReportResp implements MsgOutput {

    @NoteField(value = "战报", detail = "")
    public List<TBTrialReport> reports;

    public TBTrialReportResp(Role role) {
        this.reports = role.getPvp().throne.trial.reports;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBTB.TRIAL_REPORT_RESP;
    }

    public TBTrialReportResp() {
    }
}
